import React from 'react'

//商品分类list列表
export async function goodsClassifyTree(params) {
  return await React.$post('/admin/goodsClassify/tree', params);
}
// 商品标签列表list
export async function goodsTagsList(params) {
  return await React.$post('/admin/tSysDictionaries/list', params);
}
// 非自营商品列表
export async function goodsListPage(params) {
  return await React.$postJson('/product/api/b/storeGoods/non-self/admin/page', params);
}
// 商品类目下拉列表
export async function goodsClassifyList(params) {
  return await React.$post('/admin/goodsClassify/list', params);
}
//所属商家下拉列表
export async function storeList(params) {
  return await React.$post('/manage/api/b/storeInfo/non-self/list', params);
}
// 非自营商品详情
export async function getGoodsDetail(params) {
  return await React.$postJson('/product/api/b/storeGoods/non-self/getGoodsDetail', params);
}
// 强制下架
export async function getGoodsForceOffShelf(params) {
  return await React.$postJson('/product/api/b/storeGoods/non-self/forceOffShelf', params);
}
// 恢复上架
export async function getGoodsBackOnShelf(params) {
  return await React.$postJson('/product/api/b/storeGoods/non-self/backOnShelf', params);
}
// 驳回申请
export async function getGoodsRejectApplyOnShelf(params) {
  return await React.$postJson('/product/api/b/storeGoods/non-self/rejectApplyOnShelf', params);
}
// 查看记录
export async function goodsPutAwayRecordList(params) {
  return await React.$postJson('/product/api/b/storeGoods/non-self/goodsPutawayRecord/list', params);
}
